package org.csu.molediary.api.service;

import org.csu.molediary.api.common.CommonResponse;
import org.csu.molediary.api.entity.Account;

import java.util.List;

public interface AdminAccountService {
    //查询所有account信息
    CommonResponse<List<Account>> getAllAccount();

    //删除某个Account信息
    CommonResponse<String> deleteAccountByAccountId(String accountid);

    //通过id查询某个account信息
    CommonResponse<List<Account>> selectAccountById(String userid);

    //更新某account信息
    CommonResponse<Account> updateAccountInformation(Account account);
}
